home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / sun3.md / mon / RCS / led.h,v < prev    next >
Encoding:
Text File  |  1989-07-14  |  4.5 KB  |  182 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.2
  10. date     89.07.14.09.23.33;  author rab;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     89.07.14.09.20.54;  author rab;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @@
  22.  
  23.  
  24. 1.2
  25. log
  26. @*** empty log message ***
  27. @
  28. text
  29. @
  30. /*    @@(#)led.h 1.7 88/02/08 SMI    */
  31.  
  32. /*
  33.  * Copyright (c) 1986 by Sun Microsystems, Inc.
  34.  */
  35.  
  36. /*
  37.  * This file defines the values used in the Sun-2 LED's by the monitor.
  38.  *
  39.  * Unix might use other values, we don't define them here (yet?).
  40.  *
  41.  * It is desirable that these values match those used by Manufacturing's
  42.  * diagnostic PROMs.
  43.  *
  44.  * Values with the high-order bit set are defined in sign-extended form,
  45.  * so our assembler will assemble them into 'moveq' instructions.
  46.  */
  47.  
  48. #define    L_RESET        0xFFFFFFFF
  49.                 /* **** **** Resets set LEDs to this
  50.                    PROM instructions are not being fetched. */
  51. #define    L_INITIAL    0x01
  52.                 /* ---- ---* Initial state on power-up
  53.                    Local memory is not working.    */
  54. #define    L_GOTMEM    0x03
  55.                 /* ---- --** After local mem verified
  56.                    Assorted low-level failures? */
  57. #define    L_AFTERDIAG    0x07
  58.                 /* ---- -*** After diags, while setting up
  59.                    Bus problems seem to hang here. */
  60. #define    L_RUNNING    0x00
  61.                 /* ---- ---- After reset processing in monitor()
  62.                    System seems to be running OK */
  63. #if defined(SUN2) || defined(sun2)
  64. #define L_HEARTBEAT     0x08
  65. #endif /* defined(SUN2) || defined(sun2) */
  66. #if defined(SUN3) || defined(sun3) || defined(SUN4) || defined(sun4)
  67. #define L_HEARTBEAT     0x20
  68. #endif /* defined(SUN3) || defined(sun3) || defined(SUN4) || defined(sun4) */
  69.                 /* ---- *--- Blinks off and on while NMI ok
  70.                    System running OK, monitor taking NMI's */
  71. #define    L_USERDOG    0x02
  72.                 /* ---- --*- Entering user watchdog routine
  73.                    User watchdog routine failed */
  74. #define    L_CONTEXT    0x11
  75.                 /* ---* ---* Testing context registers
  76.                    Context register(s) failing test */
  77. #define    L_SM_CONST    0x21
  78.                 /* --*- ---* Testing constant data in segmap
  79.                    Seg map data wires shorted or bits bad */
  80. #define    L_SM_DATA    0x23
  81.                 /* --*- --** Testing data lines in segmap
  82.                    Seg map data wires shorted */
  83. #define    L_SM_ADDR    0x22
  84.                 /* --*- --*- Testing addr-dependency in segmap
  85.                    Seg map addr lines shorted or miswired */
  86. #define    L_PM_CONST    0x31
  87.                 /* --** ---* Testing constant data in pgmap
  88.                    Page map data wires shorted or bad chips */
  89. #define    L_PM_DATA    0x33
  90.                 /* --** --** Testing data lines in pgmap
  91.                    Page map data wires shorted */
  92. #define    L_PM_ADDR    0x32
  93.                 /* --** --*- Testing addr-dependency in pgmap
  94.                    Page map addr lines shorted or miswired */
  95. #define L_PROM        0x40
  96.                 /* -*-- ---- Testing PROM contents
  97.                    Prom decoding broken, pins bent, bad cksm */
  98. #define    L_UART        0x50
  99.                 /* -*-* ---- Testing UART chip(s)
  100.                    Uart chip bad, or decoding bad */
  101. #define    L_M_MAP        0x70
  102.                 /* -*** ---- Sizing memory before const test
  103.                    No mem, or mem giving berr or wierdness */
  104. #define    L_M_CONST    0x71
  105.                 /* -*** ---* Testing constant data in memory
  106.                    */
  107. #define    L_M_ADDR    0x72
  108.                 /* -*** --*- Testing address-dependency in mem
  109.                    */
  110. #define    L_PARITY    0x7F
  111.                 /* -*** **** Testing parity circuitry
  112.                    Parity gen or checking messed up */
  113. #define    L_TIMER        0x81
  114.                 /* *--- ---* Testing timer chip
  115.                    Timer clk, bus, or interrupts not wkg */
  116.  
  117. #define    L_DES        0x82
  118.                 /* *--- --*- Testing DES chip
  119.                    DES chip failure */
  120.  
  121. #define L_SETUP_MEM    0xFFFFFFF1
  122.                 /* **** ---* Setting up memory after diags
  123.                    Memory failure that hangs CPU */
  124.  
  125. #define    L_SETUP_MAP    0xFFFFFFF2
  126.                 /* **** --*- Setting up maps after diags
  127.                    Map failure, pretty unlikely */
  128.  
  129. #define    L_SETUP_FB    0xFFFFFFF3
  130.                 /* **** --** Setting up frame buffer
  131.                    Frame buffer accesses hang */
  132.  
  133. #define    L_SETUP_KEYB    0xFFFFFFF4
  134.                 /* **** -*-- Setting up NMI or keyboard
  135.                    Timer chip or keyboard bad */
  136. #define L_INIT_MEM      0x15
  137.                                 /* ---* -*-* Initializing Memory before
  138.                                    attempting to boot in UNIX. */
  139.  
  140. /* Please define and implement other values! */
  141.  
  142. @
  143.  
  144.  
  145. 1.1
  146. log
  147. @Initial revision
  148. @
  149. text
  150. @d20 1
  151. a20 1
  152. #define    L_RESET        0xFFFFFFFF    
  153. d23 1
  154. a23 1
  155. #define    L_INITIAL    0x01    
  156. d26 2
  157. a27 2
  158. #define    L_GOTMEM    0x03    
  159.                 /* ---- --** After local mem verified 
  160. d32 1
  161. a32 1
  162. #define    L_RUNNING    0x00    
  163. d37 1
  164. a37 1
  165. #endif defined(SUN2) || defined(sun2)
  166. d40 1
  167. a40 1
  168. #endif defined(SUN3) || defined(sun3) || defined(SUN4) || defined(sun4)
  169. d43 1
  170. a43 1
  171. #define    L_USERDOG    0x02    
  172. d67 1
  173. a67 1
  174. #define L_PROM        0x40    
  175. d70 1
  176. a70 1
  177. #define    L_UART        0x50    
  178. d108 1
  179. a108 1
  180. #define L_INIT_MEM      0x15 
  181. @
  182.